package com.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 管理员通知表
 * </p>
 *
 * @author ckick
 * @since 2025-09-20 09:29:26
 */
@Getter
@Setter
@TableName("admin_notifications")
public class AdminNotifications {

    /**
     * 通知ID
     */
    @TableId(value = "notification_id", type = IdType.AUTO)
    private Integer notificationId;

    /**
     * 接收用户ID
     */
    @TableField("receiver_id")
    private Integer receiverId;

    /**
     * 管理员ID
     */
    @TableField("admin_id")
    private Integer adminId;

    /**
     * 通知标题
     */
    @TableField("title")
    private String title;

    /**
     * 通知内容
     */
    @TableField("content")
    private String content;

    /**
     * 发送时间
     */
    @TableField("created_at")
    private Date createdAt;
}
